package com.example.esredisrabbitmqdemo.service;

import com.example.esredisrabbitmqdemo.pojo.User;

import java.util.List;

/**
 * @BelongsProject: es-redis-rabbitmq-demo
 * @BelongsPackage: com.example.esredisrabbitmqdemo.service
 * @Author: 江岸
 * @CreateTime: 2020-07-04 15:41
 * @Description:
 */
public interface UserService {
    String add(User user);
    User queryById(int id);
    String update(User user);
    String delete(int id);
    List<User> findAll();
    List<User> likeSearch(String info);
}
